<?php 
$menu_utama = "";

// Memeriksa tombol yang ditekan
if (isset($_REQUEST["signup"]))          {$menu_utama = "signup";}
if (isset($_REQUEST["Verifikasi_User"])) {$menu_utama = "Verifikasi_User";}
if (isset($_REQUEST["Kelola_User"]))     {$menu_utama = "Kelola_User";}
if (isset($_REQUEST["Update_Profil"]))   {$menu_utama = "Update_Profil";}
if (isset($_REQUEST["Rooms"]))    		 {$menu_utama = "Rooms";}
if (isset($_REQUEST["New_Room"])) 		 {$menu_utama = "New_Room";}
if (isset($_REQUEST["Details"]))    	 {$menu_utama = "Details";}
if (isset($_REQUEST["adminvterima"]))  	 {$menu_utama = "adminvterima";}
if (isset($_REQUEST["adminvtolak"]))  	 {$menu_utama = "adminvtolak";}
if (isset($_REQUEST["adminvhapus"]))  	 {$menu_utama = "adminvhapus";}
if (isset($_REQUEST["adminkhapus"]))  	 {$menu_utama = "adminkhapus";}
if (isset($_REQUEST["tbl_search"]))  	 {$menu_utama = "list_search";}
if (isset($_REQUEST["reset"]))           {$menu_utama = "reset";}
if (isset($_REQUEST["Pesanan"]))         {$menu_utama = "Pesanan";}
if (isset($_REQUEST["edit_kamar"]))      {$menu_utama = "edit_kamar";}
if (isset($_REQUEST["reset_password"]))  {$menu_utama = "reset_password";}
if (isset($_REQUEST["delete_kamar"]))    {$menu_utama = "delete_kamar";}
if (isset($_REQUEST["reset"]))           {$menu_utama = "reset";}
if (isset($_REQUEST["Pesanan"]))           {$menu_utama = "Pesanan";}
if (isset($_REQUEST["edit_kamar"]))        {$menu_utama = "edit_kamar";}
if (isset($_REQUEST["reset_password"]))    {$menu_utama = "reset_password";}
if (isset($_REQUEST["delete_kamar"]))      {$menu_utama = "delete_kamar";}
if (isset($_REQUEST["pesan_kamar"]))       {$menu_utama = "pesan_kamar";}
if (isset($_REQUEST["tombol_pesankamar"])) {$menu_utama = "kirimpesan_kamar";}
>>>>>>> .r76
// Memilih halaman yang akan ditampilkan dalam Menu Utama
switch($menu_utama){
case "signup" : {
	include "view/form_signup.php";
	break;}
case "Verifikasi_User" : {
	include "view/form_verifikasi_user.php";
	break;}
case "Kelola_User" : {
	include "view/form_kelola_user.php";
	break;}
case "Update_Profil" : {
	include "view/form_update_profil.php";
	break;}
case "Rooms" : {
	include "view/createdata.php";
	include "view/list_kamar.php";
	break;}
case "New_Room" : {
	include "view/formkamar.php";
	break;}    
case "Details" : {
	include "view/detail_kamar.php";
	break;}
case "reset" : {
	include "view/form_resetpassword.php";
	break;}	
case "Pesanan" : {
	include "view/form_pesan.php";
	break;}		
case "adminvterima" : {
	include "modul/adminvterima.php";
	include "view/form_verifikasi_user.php";
	break;}
case "adminvtolak" : {
	include "modul/adminvtolak.php";
	include "view/form_verifikasi_user.php";
	break;}
case "adminvhapus" : {
	include "modul/adminvhapus.php";
	include "view/form_verifikasi_user.php";
	break;}
case "adminkhapus" : {
	include "modul/adminkhapus.php";
	include "view/form_kelola_user.php";
	break;}
case "list_search" : {
	include "modul/mlist_search.php";
	include "view/form_list_search.php";
	break;}	
case "edit_kamar" : {
	include "view/form_update_kamar.php";
	break;}	
case "reset_password" : {
	include "modul/reset_password.php";
	break;}	
case "delete_kamar" : {
	include "modul/delete_kamar.php";
	include "view/createdata.php";
	include "view/list_kamar.php";
	break;}
case "pesan_kamar" : {
	include "view/form_memesankamar.php";
	break;}
case "kirimpesan_kamar" : {
	include "modul/memesankamar.php";
	include "view/list_kamar.php";
	break;}
	
default     : {
	echo "Menu utama";
	include "view/menu_utama.php";
	break;}
}